package main

import "github.com/cihub/seelog"

func main() {
	logger, err := seelog.LoggerFromConfigAsFile("seelog.xml")
	if err != nil {
		panic(err)
	}
	seelog.ReplaceLogger(logger)
	defer seelog.Flush()
	seelog.Info("Hello from seelog!")
	seelog.Error("Error from seelog!")
}
